package com.czl.module_storehouse.bean;

import com.czl.base.data.bean.tengyun.ProductBean;

/**
 * @author by xubin,
 * @date on 2022/2/11.
 * PS: Not easy to write code, please indicate.
 */
public class InventoryProductShiftBean {

    private Integer inventoryId;
    private Integer storehouseId;
    private String shiftPersonId;
    private String shiftPersonName;
    private Integer shiftLocatIn;
    private Integer productId;
    private Integer sortId;
    private String productCode;
    private String productModel;
    private Integer shiftLocatOut;

    public void setProductBean(ProductBean productBean) {
        //移出仓位
        shiftLocatOut = productBean.getStorehouseLocatId();
        productCode = productBean.getProductCode();
        productModel = productBean.getProductModel();
        sortId = productBean.getSortId();
        productId = productBean.getProductId();
    }

    public Integer getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Integer inventoryId) {
        this.inventoryId = inventoryId;
    }

    public Integer getStorehouseId() {
        return storehouseId;
    }

    public void setStorehouseId(Integer storehouseId) {
        this.storehouseId = storehouseId;
    }

    public String getShiftPersonId() {
        return shiftPersonId;
    }

    public void setShiftPersonId(String shiftPersonId) {
        this.shiftPersonId = shiftPersonId;
    }

    public String getShiftPersonName() {
        return shiftPersonName;
    }

    public void setShiftPersonName(String shiftPersonName) {
        this.shiftPersonName = shiftPersonName;
    }

    public Integer getShiftLocatIn() {
        return shiftLocatIn;
    }

    public void setShiftLocatIn(Integer shiftLocatIn) {
        this.shiftLocatIn = shiftLocatIn;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }

    public Integer getShiftLocatOut() {
        return shiftLocatOut;
    }

    public void setShiftLocatOut(Integer shiftLocatOut) {
        this.shiftLocatOut = shiftLocatOut;
    }
}
